package LX;

public class LL3 {
	String[] names=new String[30];    
	public void addName(String name) {
		for(int i=0;i<names.length;i++) {
			if(names[i]==null) {
				names[i]=name;
				break;
			}
		}
		}
	 public void show() {
			for(int i=0;i<names.length;i++) {
				if(names[i]!=null) {
				System.out.print(names[i]+"\t");
				}
			}
	}

}
